<?php

session_start();

include "Gadget.php";
include "parserXML.php";

// -- vnos naprave iz forme -- //

extract( $_POST );

$gID = ($_SESSION['idNaprave']);

updateImage($gID, $gslika);

header( "Location: index.php" );

?>